﻿using HCMS.CommonDtos;
using HCMS.Entities.Base;
using System.Threading.Tasks;

namespace HCMS.IRepositories.Base
{
    /// <summary>
    /// 系统 字典 仓储接口
    /// </summary>
    public interface ISystemDictionaryRepository : ICommonRepository<SystemDictionary, int>
    {
        /// <summary>
        /// 管理 列表
        /// </summary>
        /// <param name="searchArgs">搜索 参数</param>
        /// <param name="pager">分页 参数</param>
        /// <returns></returns>
        Task<ListPagerDto<SystemDictionary>> ManageList(SearchArgsDto searchArgs, PagerArgsDto pager);

        /// <summary>
        /// 字典 树
        /// </summary>
        /// <returns></returns>
        Task<object> GetAllTree();

    }
}
